module.exports = {
  transpileDependencies: false,
  productionSourceMap: false,
  // 关闭语法检测
  lintOnSave: false,
  // 代理跨域
  devServer: {
    // hotOnly: false,
    proxy: {
      '/api': {
        target: 'http://gmall-h5-api.atguigu.cn',
        // changeOrigin: true,
        // pathRewrite: { '^/api': '' }
      }
    }
  }
}
